 ...
 index.php

:
require_once ROOT_DIR . '/engine/init.php';

 :
require_once ROOT_DIR. '/engine/modules/jslide.php';

:
$tpl->set ( '{topnews}', $topnews );

 
$tpl->set ( '{jslide}', $tpl->result['jslidemain'] );

 main.tpl      {jslide} 